package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 节次
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-11-7
 * Time: 下午4:54
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "TBL_AOP_LOG")
@Entity
public class TAopLog {
	private String id;        //id
	private Integer userId;  //用户id
	private String startTime; //开始时间
	private long timeDiff; //时间差
	private String parameter; //参数
	private String functionName;     //
	private String className; //年级班级
	private String state;     //状态
	private String returnValue;  //返回值
	private String exceptionInfo;  //异常信息
	private String stackTrace;  //异常信息
	private String ip;   //ip信息
	
	
	@javax.persistence.Column(name = "IP")
	@Basic
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	@javax.persistence.Column(name = "UUID")
	@Id
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@javax.persistence.Column(name = "USER_ID")
	@Basic
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	@javax.persistence.Column(name = "START_TIME")
	@Basic
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	@javax.persistence.Column(name = "TIME_DIFF")
	@Basic
	public long getTimeDiff() {
		return timeDiff;
	}
	public void setTimeDiff(long timeDiff) {
		this.timeDiff = timeDiff;
	}
	@javax.persistence.Column(name = "PARAMETER")
	@Basic
	public String getParameter() {
		return parameter;
	}
	public void setParameter(String parameter) {
		this.parameter = parameter;
	}
	@javax.persistence.Column(name = "F_NAME")
	@Basic
	public String getFunctionName() {
		return functionName;
	}
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}
	
	
	
	@javax.persistence.Column(name = "CLASS_NAME")
	@Basic
	public String getClassName() {
		return className;
	}
	
	public void setClassName(String className) {
		this.className = className;
	}
	@javax.persistence.Column(name = "STATE")
	@Basic
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@javax.persistence.Column(name = "RETURN_VALUE")
	@Basic
	public String getReturnValue() {
		return returnValue;
	}
	public void setReturnValue(String returnValue) {
		this.returnValue = returnValue;
	}
	@javax.persistence.Column(name = "EXCEPTION_INFO")
	@Basic
	public String getExceptionInfo() {
		return exceptionInfo;
	}
	public void setExceptionInfo(String exceptionInfo) {
		this.exceptionInfo = exceptionInfo;
	}
	@javax.persistence.Column(name = "STACK_TRACE")
	@Basic
	public String getStackTrace() {
		return stackTrace;
	}
	public void setStackTrace(String stackTrace) {
		this.stackTrace = stackTrace;
	}

//	@javax.persistence.Column(name = "ID")
//	@Id
//	public int getId() {
//		return id;
//	}
//
//	public void setId(int id) {
//		this.id = id;
//	}
//
//	@javax.persistence.Column(name = "SD")
//	@Basic
//	public Integer getSd() {
//		return sd;
//	}
//
//	public void setSd(Integer sd) {
//		this.sd = sd;
//	}
//
//	@javax.persistence.Column(name = "JC")
//	@Basic
//	public Integer getJc() {
//		return jc;
//	}
//
//	public void setJc(Integer jc) {
//		this.jc = jc;
//	}
//
//	@javax.persistence.Column(name = "KSSJ")
//	@Basic
//	public String getKssj() {
//		return kssj;
//	}
//
//	public void setKssj(String kssj) {
//		this.kssj = kssj;
//	}
//
//	@javax.persistence.Column(name = "JSSJ")
//	@Basic
//	public String getJssj() {
//		return jssj;
//	}
//
//	public void setJssj(String jssj) {
//		this.jssj = jssj;
//	}
}
